import Loadable from 'react-loadable';
import React from 'react'

const LoadableBar = Loadable({
    // 异步加载本地的index.js
  loader: () => import('./'),
  // 用于加载的时候显示
  loading() {
    return <div>Loading...</div>
  }
});

export default () => <LoadableBar />